package com.aaa.set.service.impl;

import com.aaa.entity.CustomerIssues;
import com.aaa.set.dao.CustomerIssuesDao;
import com.aaa.set.service.CustomerIssuesService;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 荆豪峰
 * @version 1.0
 * #Date: 2023/3/6 09:28
 */
@Service
public class CustomerIssuesServiceImpl implements CustomerIssuesService {
    @Autowired
    private CustomerIssuesDao customerIssuesDao;
    @Override
    public Result selectAll(CustomerIssues customerIssue) {
       List<CustomerIssues> customerIs= customerIssuesDao.selectAll(customerIssue.getSubmodule());
        return new Result(2000,"查询成功",customerIs);
    }
}
